#include "Board.h"



Board::Board()
{
	board.loadFromFile("monopolyboard.bmp");
	imgbrd.setTexture(board);
	imgbrd.setScale(Vector2f(calculate(900,1500), calculate(768,1500)));
	wood.loadFromFile("wood.bmp");
	imgwood.setTexture(wood);
	imgwood.setScale(Vector2f(calculate(466, 3000), calculate(768, 2075)));
	imgwood.setPosition(Vector2f(900, 0));
}


float Board::calculate(float x, float y)
{
	return x / y;
}


Board::~Board()
{
}
